<extend name="Public:base" />

<block name="content">

    <form action="{:U('MoneyManage/repairMoney&master_id=').$id}" method="post">
        <div class="table-responsive">
            <table class="table table-striped table-bordered table-hover search-form">
                <thead>
                <tr>
                    <th>
                        时间：  <input id="time1" name="time1" value="{:I('time1')}" class="Wdate" type="text" onfocus="WdatePicker({dateFmt:'yyyy-M-d 00:00:00'})"/>
                        -- <input id="time2" name="time2" value="{:I('time2')}" class="Wdate" type="text" onfocus="WdatePicker({dateFmt:'yyyy-M-d 00:00:00'})"/>

                        <input class="btn btn-primary radius5 btn-sm" type="submit" value="查询"/>
                        <a class="btn btn-primary radius5 btn-sm" href="{:U('MoneyManage/mexcelout')}">导出</a>
                    </th>
                    <!--  <a class="btn btn-primary" href="javascript:;" id="search" url="{:U('Member/index')}">搜索</a>-->
                </tr>
                </thead>
            </table>
        </div>
    </form>

    <div class="table-responsive">
        {$total['id_name']}  维修金{$total['total']}元，明细如下：
        <table class="table table-striped table-bordered table-hover">

            <thead>
            <tr>
                <th>维修订单编号</th>
                <th>维修金期限</th>
                <th>维修金额</th>
            </tr>
            </thead>
            <tbody>
            <volist name="list" id="ba" key="k">
                <tr>
                    <td>{$ba['order_id']}</td>
                    <td>{$ba['donetime']|date="Y-m-d H:i:s",###}</td>
                    <td>{$ba['maintain']}</td>
                </tr>
            </volist>
            <tr>
                <td colspan="20" class="page">{$page}</td>
            </tr>
            </tbody>
        </table>
    </div>
</block>
<block name="css">
</block>
<block name="javascript">
    <script>

    </script>
</block>